<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-bind</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <h3 v-bind:one-msg = "msg">{{msg}}</h3>
        <img style="width: 500px;height: 150px;" v-bind:src="url" alt="">
        <p><a v-bind:href="link">欢迎来到我的魅族</a></p>
    </div>
</body>
<!-- 
      v-bind   绑定vue标签或者组件的属性 attribute v-bind:src v-bind:title  绑定动态的属性 
        静态属性  永远不改变 不是变量
        动态属性  接收是变量  (v-bind)  70%
 -->
<script>
    const vm = new Vue({
        el:"#app",
        data:{
            msg:"hello Vue",
            url: "https://fms.res.meizu.com/dms/2021/04/02/904063b7-9315-479f-a751-fba562350682.jpg",
            link: "http://sshly.gz01.bdysite.com/MeiZu/html/index1.html",
        }
    })
</script>
</html>